#include "comm.hpp"
#include <unistd.h>

int main()
{
    key_t k = getKey(".");
    int shmid = getShm(k);

    char *start = (char *)attachShm(shmid);

    snprintf(start, MAX_SIZE, "i am process A");

    detachShm(start);

    return 0;
}